set_source_files_properties(QoolToolTipWindow.qml
    PROPERTIES
    QT_QML_SINGLETON_TYPE TRUE
)
qt_add_qml_module(QoolControls
    VERSION 2.0
    RESOURCE_PREFIX /qoolui
    URI "Qool.Controls"
    PLUGIN_TARGET QoolControls
    QML_FILES
        QoolButton.qml
        QoolControl.qml
        QoolMenu.qml
        QoolMenuBanner.qml
        QoolMenuBar.qml
        QoolMenuItem.qml
        QoolMenuSeparator.qml
        QoolToolTip.qml
        QoolToolTipWindow.qml
)


target_link_libraries(QoolControls PRIVATE Qt6::Quick)

add_subdirectory(Basic)
add_subdirectory(Inputs)
